﻿using System;
using Yanesdk.System; 

namespace ADV_Evaluator.Task {

    class DrawBeginTask : TaskBase {

        /// <summary>
        /// タスク処理
        /// </summary>
        /// <param name="o"></param>
        /// <returns>正常終了なら0。非0ならこのタスクは消される。</returns>
        public override int Task(object o) {

            GameSystem system = (GameSystem)o;

            system.Screen.Select();
            system.Screen.BlendSrcAlpha();
            system.Screen.Clear();

            return 0;
        }

    }
}
